package org.apache.ibatis.mapping;

/**
 * Represents the content of a mapped statement read from an XML file or an annotation. 
 * It creates the SQL that will be passed to the database out of the input parameter received from the user.
 * SqlSource
 *     StaticSqlSource  //  SqlSource实例的直接构造者就是 SqlSourceBuilder, 而SqlSourceBuilder中的parse方法所返回的是StaticSqlSource实例.
 *     RawSqlSource  //
 *     ProviderSqlSource
 *     DynamicSqlSource
 *
 */
public interface SqlSource {
  BoundSql getBoundSql(Object parameterObject);

}
